using JT808Protocol.Models;
using System.Threading.Tasks;

namespace JT808Protocol.Abstracts
{
    /// <summary>
    /// 消息转发者接口，具体按不同的转发需求实现
    /// </summary>
    public interface IDataForwarder
    {
        /// <summary>
        /// 发送消息
        /// </summary>
        /// <param name="package"></param>
        Task SendAsync(JT808Package package);
    }
}